﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace BRMC.IntelligentCommunity.Migrations
{
    public partial class up_place5 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "EndTime",
                table: "UserParkinginfos");

            migrationBuilder.AddColumn<DateTime>(
                name: "EndTime",
                table: "Places",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "EndTime",
                table: "Places");

            migrationBuilder.AddColumn<DateTime>(
                name: "EndTime",
                table: "UserParkinginfos",
                nullable: true);
        }
    }
}
